export default {
  path: "/",
  redirect: "/forwarder/price", // 重定向到子路由
  meta: {
    icon: "ri:robot-2-line",
    title: "货代端",
    rank: 15
  },
  children: [
    {
      path: "/forwarder/price", // 子路由路径
      name: "ForwarderPrice",
      component: () => import("@/views/frontFwInquiry/Index.vue"),
      meta: {
        title: "询价--货代",
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/quote/list", // 子路由路径
      name: "ForwarderQuoteList",
      component: () => import("@/views/frontFwInquiry/FrontFwQuotation.vue"),
      meta: {
        title: "货代报价单",
        showLink: false,
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/lookFwQuote", // 子路由路径
      name: "ForwarderLookFwQuote",
      component: () => import("@/views/frontFwInquiry/LookFwQuote.vue"),
      meta: {
        title: "查看报价",
        showLink: false,
        roles: ["forwarder"]
      }
    },
    {
      path: "/forwarder/editFwQuote", // 子路由路径
      name: "ForwarderEditFwQuote",
      component: () => import("@/views/frontFwInquiry/EditFwQuote.vue"),
      meta: {
        title: "修改报价",
        showLink: false,
        roles: ["forwarder"]
      }
    },
  ]
} satisfies RouteConfigsTable;
